Component({
	/**
	 * 页面的初始数据
	 */

	properties: {
    disabled: {
      type: Boolean,
      value: false
    },
	},
	data: {
		title: ''
	},
	methods: {
		ok(e) {
			this.setData({
				title: e.detail.value
			})
			var myEventDetail = {
				value: e.detail.value
			} // detail对象，提供给事件监听函数
      var myEventOption = {} // 触发事件的选项
			this.triggerEvent('ok', myEventDetail, myEventOption)
		},
		tap(e) {
			var myEventDetail = {
				value: e.detail.value
			} // detail对象，提供给事件监听函数
      var myEventOption = {} // 触发事件的选项
			this.triggerEvent('click', myEventDetail, myEventOption)
		},
		updateData() {
			// this.setData({title: 1})
		}
	}
})